package com.itheima.service;

import com.itheima.entity.Emp;
import com.itheima.entity.EmpLoginInfo;
import com.itheima.entity.EmpQueryParam;
import com.itheima.entity.PageBean;

import java.util.List;

public interface EmpService {
    /**
     * 分页查询
     * @param page
     * @param pageSize
     * @return
     */
    PageBean page(EmpQueryParam param);

    void save(Emp emp);

    void delete(List<Integer> ids);


    Emp getById(Integer id);

    void update(Emp emp);

    EmpLoginInfo login(Emp emp);
}
